
cmake_minimum_required(VERSION 3.5)

project(PainterDemo LANGUAGES CXX)


# 添加可执行文件
add_executable(CustomButtons "CustomButtons.cpp")
target_link_libraries(CustomButtons core_lib Qt${QT_VERSION_MAJOR}::Widgets)


add_executable(StatusDisplay "StatusDisplay.cpp")
target_link_libraries(StatusDisplay 
			core_lib 
			Qt${QT_VERSION_MAJOR}::Widgets 
			${QRC_FILES})


add_executable(test "test.cpp")
target_link_libraries(test 
			core_lib 
			Qt${QT_VERSION_MAJOR}::Widgets 
			${QRC_FILES})